package com.yidu.BusinessParament.entity;

/**
 * @交易席位 DealSeat实体类
 * @version 1.0
 * @auther 林肯
 * @date 2022/12/12 -9:34
 */
public class DealSeat {
    private String seatId;//席位ID 主键
    private String brokerId;//券商ID 外键
    private int seatType;//席位类型,标识 备注:席位类型 1为普通席位、2为SVIP席位
    private String seatName;//席位名称
    private int seatPlace;//席位地址,标识 备注:1是深圳席位、2是上海席位
    private double commission;//佣金利率 备注:交给证券公司的费用
    private String remark;//备注

    //有参数的构造方法
    public DealSeat(String seatId, String brokerId, int seatType, String seatName, int seatPlace, double commission, String remark) {
        this.seatId = seatId;
        this.brokerId = brokerId;
        this.seatType = seatType;
        this.seatName = seatName;
        this.seatPlace = seatPlace;
        this.commission = commission;
        this.remark = remark;
    }

    public DealSeat(){

    }

    //无参的数构造方法
    public String getSeatId() {
        return seatId;
    }

    public void setSeatId(String seatId) {
        this.seatId = seatId;
    }

    public String getBrokerId() {
        return brokerId;
    }

    public void setBrokerId(String brokerId) {
        this.brokerId = brokerId;
    }

    public int getSeatType() {
        return seatType;
    }

    public void setSeatType(int seatType) {
        this.seatType = seatType;
    }

    public String getSeatName() {
        return seatName;
    }

    public void setSeatName(String seatName) {
        this.seatName = seatName;
    }

    public int getSeatPlace() {
        return seatPlace;
    }

    public void setSeatPlace(int seatPlace) {
        this.seatPlace = seatPlace;
    }

    public double getCommission() {
        return commission;
    }

    public void setCommission(double commission) {
        this.commission = commission;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "DealSeat{" +
                "seatId='" + seatId + '\'' +
                ", brokerId='" + brokerId + '\'' +
                ", seatType=" + seatType +
                ", seatName='" + seatName + '\'' +
                ", seatPlace=" + seatPlace +
                ", commission=" + commission +
                ", remark='" + remark + '\'' +
                '}';
    }
}
